package com.relytosoft.mizar.media.common.impl;

import com.relytosoft.dubhe.common.api.entity.system.SysMsgRepeat;
import com.relytosoft.dubhe.common.api.service.RemoteMsgRepeatService;
import com.relytosoft.dubhe.common.core.constant.PropertyConstants;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;

/**
 * @author Jierry
 * @version 2022/5/11.
 */
@Service
@ConditionalOnProperty(prefix = PropertyConstants.PROPERTY_DUBHE_MICROSERVICE, name = "localDB", havingValue = "false")
public class RemoteMsgRepeatServiceImpl implements RemoteMsgRepeatService {

    @Override
    public int updateSysMsgRepeatStatus(int i, String s) {
        return 0;
    }

    @Override
    public void saveMsgRepeat(SysMsgRepeat sysMsgRepeat) {

    }

    @Override
    public SysMsgRepeat getNoHandleMsg() {
        return null;
    }
}
